﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace DataTier.Entities
{
    /// <summary>
    /// Композитный тип данных, возвращающий расширенный объект Отдел
    /// </summary>
    [Serializable]
    public class DepartmentEntity
    {
        
        public int DepartmentId
        {
            get { return departmentId; }
            set { departmentId = value; }
        }
        private int departmentId;


        
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string name;

        
        
        public string OfficeNumber
        {
            get { return officeNumber; }
            set { officeNumber = value; }
        }
        private string officeNumber;


        
        public int? JuridicalPersonId
        {
            get { return juridicalPersonId; }
            set { juridicalPersonId = value; }
        }
        private int? juridicalPersonId;


        
        public string JuridicalPersonName
        {
            get { return juridicalPersonName ; }
            set { juridicalPersonName = value; }
        }
        private string juridicalPersonName;


        
        public bool? Deleted
        {
            get { return deleted; }
            set { deleted = value; }
        }
        private bool? deleted;

    }

}
